﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Layouts/Monoblock.Master" AutoEventWireup="true" CodeBehind="Edit.aspx.cs" Inherits="ScrumBox.Web.Views.Project.Edit" %>
<%@ Import Namespace="ScrumBox.Model"%>
<%@ Import Namespace="ScrumBox.Web.Controllers"%>
<%@ Import Namespace="MvcContrib"%>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
    <%  var project = ViewData.Get<Project>(); %>
    <h2 class="title"><%= project.Name %></h2>
	<p class="meta">Last Edited by <a href="#">mick</a> on June 13, 2008 </p>
    <div class="entry">
        <fieldset>
            <legend>Details</legend>
            <form method="post" id="editForm" action='<%= Url.Action("save") %>'>
                <%= Html.RenderUserControl("~/Views/Project/ProjectView.ascx") %>
                
                <div class="button-row">                
                    <input type="submit" id="conf_save" value="Save" class="submit" />
                    <%= Html.ActionLink<ProjectController>(c => c.List(), "« Cancel")%>    
                </div>
            </form>
        </fieldset>
    </div>
</asp:Content>
